package com.xbw.bookSale.biz;

import java.sql.SQLException;
import java.util.*;
import com.xbw.bookSale.po.*;
import com.xbw.bookSale.dao.*;

public class BookTypeBiz {

	BookTypeDAO dao = new BookTypeDAO();

	public List<BookType> getAllBookTypeList() {

		try {
			dao.setConn(BaseDAO.getConnection());
			List<BookType> bookTypeList = dao.getAllBookTypeList();
			dao.getClose();
			return bookTypeList;
		} catch (SQLException e) {
			e.printStackTrace();
		}
		return new ArrayList<BookType>();
	}
}
